/**
 * 部门
 */
import { $axios } from "../request.js";
import prefix from "../base.js";

export default {
  //获取验证码
  phoneCode(data) {
    return $axios(`${prefix.verify}/phoneCode`, data, "POST");
  },
  //手机验证码校验
  verifyPhoneCode(data) {
      return $axios(`${prefix.verify}/verifyPhoneCode`, data, "POST");
  },
  //校验二维码是否过期
  getIsQrcode(id) {
    return $axios(`/xsdcrm-wechat-api/riders/induction/getIsQrcode?deptId=${id}`, null, "GET");
  },
  //校验二维码是否过期
  getIsExpire(id) {
    return $axios(`/xsdcrm-wechat-api/riders/induction/getIsExpire?invitationId=${id}`, null, "GET");
  },
};
